package com.weixing.mall.provider.model.query;

import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.api.model.enums.OrderMateRuleEnum;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author wx
 * @Date 2019/12/9 9:47
 * @Version 1.0
 */
@Data
public class SealingSheetOrderQuery {
    @ApiModelProperty(value = "所属发货员")
    private Integer shipperId;
    @ApiModelProperty(value = "所属客服")
    private Integer customerId;
    @ApiModelProperty(value = "所属经销商")
    private Integer distributorId;
    @ApiModelProperty(value = "客户信息")
    private String customerInformation;
    @ApiModelProperty(value = "订单信息")
    private String orderInformation;
    @ApiModelProperty(value = "开始日期")
    private String startTime;
    @ApiModelProperty(value = "结束日期")
    private String endTime;
    @ApiModelProperty(value = "所属仓库")
    private Long depotId;
    @ApiModelProperty(value = "外采仓",hidden = true)
    private Long outDepotId;
    @ApiModelProperty(value = "匹配规则")
    private OrderMateRuleEnum mateRule;

    @ApiModelProperty(value = "活动Id")
    private Long actId;
    @ApiModelProperty(value = "活动名称")
    private String actName;
    @ApiModelProperty(value = "所属代理商")
    private Long agentId;
    @ApiModelProperty(value = "下单人")
    private String buyer;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "客户名称")
    private String contactUser;
    @ApiModelProperty(value = "订单编号")
    private String orderSn;
    @ApiModelProperty(value = "货号")
    private String goodsSn;
    @ApiModelProperty(value = "款号")
    private String styleNo;
    @ApiModelProperty(value = "支付流水号")
    private String outTradeNo;
    @ApiModelProperty(value = "审核开始日期")
    @DateTimeFormat(pattern= DatePattern.NORM_DATETIME_PATTERN)
    private String auditStartTime;
    @ApiModelProperty(value = "审核结束日期")
    @DateTimeFormat(pattern= DatePattern.NORM_DATETIME_PATTERN)
    private String auditEndTime;
    @ApiModelProperty(value = "订单类型")
    private OrderTypeEnum orderType;
    /**
     * 是否换货    1  是   0 不是
     */
    @ApiModelProperty(value = "是否换货")
    private Integer afterSaleTag;

    /**
     * 列表排序(当前排序值 1 按手机号排序 2 按下单时间排序,默认为按照审核时间排序)
     */
    @ApiModelProperty(value = "列表排序")
    private Integer orderValue;

}
